package com.tbit.uqbike.client.dao.log;

import com.tbit.uqbike.client.pojo.newEntity.RuleRidelog;

import java.util.List;

/**
 * @Author: chen
 * @Description: 非文明骑行日志
 * @Date: 创建于 14:40 2022/7/12
 */
public interface RuleRidelogDao {

    /**
     * 新增
     *
     * @param ruleRidelog
     */
    void edit(RuleRidelog ruleRidelog);

    /**
     * 查询
     *
     * @param userId
     * @return
     */
    List<RuleRidelog> query(Integer userId);

    /**
     * 通过订单编号获取
     *
     * @param orderNO
     * @return
     */
    List<RuleRidelog> getByOrderNO(String orderNO);

    RuleRidelog getByRideId(Integer rideId);
}
